package com.nuanshui.heatedloan.credit.facade;

import com.nuanshui.heatedloan.credit.form.BankCardForm;
import com.nuanshui.heatedloan.credit.form.PayOrderInfoForm;
import com.nuanshui.heatedloan.credit.vo.BankCardVO;
import com.nuanshui.heatedloan.pageable.Pager;

import java.util.List;

/**
 * @author zss
 * @date 2017/7/31 19:17
 * @description
 * @Since
 */
public interface BankCardService {

    /**
     * 获取所有银行列表
     * @param pager
     * @return
     */
    Pager<BankCardVO> loadBankCard(Pager<BankCardVO> pager);

    /***
     * 新增
     * @param bankCardForm
     */
    int saveBankCard(BankCardForm bankCardForm);

    /**
     * 修改
     * @param id
     * @param status
     */
    boolean updateBankCard(String id,String status) ;

    /**
     * 通过银行代码和银行名称来获取银行信息
     * @param bankCardForm
     * @return
     */
    BankCardVO loadBankCardByObject(BankCardForm bankCardForm);

}
